﻿<%@ Page MaintainScrollPositionOnPostback="true" Title="" Language="C#" MasterPageFile="~/MasterPlus.Master" AutoEventWireup="true" CodeBehind="wbfrm_Cambio_Clientes.aspx.cs" Inherits="FrontEndPlus.Módulos.Catálogos_y_Mantenimientos.wbfrm_Cambio_Clientes" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<%@ Register Src="~/Módulos/Catálogos y Mantenimientos/MenuVertical.ascx" TagName="MenuVertical" TagPrefix="uc1" %>

<%--MaintainScrollPositionOnPostback="true"--%>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <link rel="stylesheet" type="text/css" href="App_Themes/CSS/Smoke.css"/>
    <link type="text/css" rel="stylesheet" href="App_Themes/CSS/formEspera.css" />
    <script type="text/javascript" src="JS/Smoke.min.js"></script>
    <script type="text/javascript" src="JS/Smoke.js"></script>
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js" type="text/javascript"></script>
    <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js" type="text/javascript"></script>
    <link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="Stylesheet" type="text/css" />
    <script type="text/javascript">
        $(function () {
            $("[id$=txt_FechaNac]").datepicker({
                dateFormat: 'dd-mm-yy',
                showOn: 'button',
                buttonImageOnly: true,
                buttonImage: '../../App_Themes/Resources/icon-calendar.gif',
                changeMonth: true,
                changeYear: true            
            });
        });
    </script>
    <style type="text/css">
        .auto-style2 {
            width: 307px;
        }       
        .auto-style4 {
            height: 33px;
        }        
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div>
        <uc1:MenuVertical ID="MenuVertical1" runat="server" />
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">   
     <asp:Panel ID="Panel3" runat="server">
         <table align="center" style="background-color: #E8EBF7; border-radius:10px; filter:alpha(opacity=50);">
            <tr>
                <td></td>
                <td align="center"></td>
                <td align="center" class="auto-style2" colspan="8">
                    <h1><strong>Cambio de Cliente</strong></h1>
                </td>
            </tr>
            </table>
        <table align="center" style="background-color: #E8EBF7; border-radius:10px; filter:alpha(opacity=50);">
             <tr>
                <td class="auto-style4"></td>
                <td align="right" class="auto-style4"></td>
                <td align="center" class="auto-style2">
                    <asp:ToolkitScriptManager ID="tsm_ScriptManager" runat="server"></asp:ToolkitScriptManager>
                </td>
            </tr>             
            <tr>
                <td class="auto-style4"></td>
                <td align="center" class="auto-style4"></td>           
                <td align="left" class="auto-style2"><h2 style="color: darkblue">Agregar/Modificar</h2></td>
            </tr>
             <tr>
                <td class="auto-style4"></td>
                <td align="center" class="auto-style4"></td>           
                <td align="left" class="auto-style2"></td>
            </tr>
            <tr>
                <td class="auto-style4"></td>
                <td align="center" class="auto-style4"></td>
                <td align="left" class="auto-style2">
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="auto-style4">
                    <br />
                    <br />                   
                </td>
                <td align="right" class="auto-style4">Id: </td>
                <td class="auto-style2">
                    <asp:TextBox ID="txt_Id" runat="server" TabIndex="4" MaxLength="10" ReadOnly="True" Width="59px"></asp:TextBox><br />
                </td>
            </tr>
            <tr>
                <td class="auto-style4">
                    <br />
                    <br />
                </td>
                <td align="right" class="auto-style4">Nombre(*):</td>
                <td class="auto-style2">
                    <asp:TextBox ID="txt_Nombre" runat="server" TabIndex="5" MaxLength="10" Width="146px"></asp:TextBox><br />
                    <%--<asp:RequiredFieldValidator ID="RequiredFieldValidator12" runat="server" ErrorMessage="Digitar Nombre" ForeColor="Maroon" ControlToValidate="txt_Nombre" EnableClientScript="False" CssClass="msjerror"></asp:RequiredFieldValidator>--%>
                </td>
            </tr>
            <tr>
                <td class="auto-style4">
                    <br />
                    <br />
                </td>
                <td align="right" class="auto-style4">Apellidos(*):</td>
                <td class="auto-style2">
                    <asp:TextBox ID="txt_Apellidos" runat="server" TabIndex="6" MaxLength="50" Width="168px"></asp:TextBox><br />
                    <%--<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="Digitar apellidos" ForeColor="Maroon" ControlToValidate="txt_Apellidos" EnableClientScript="False" CssClass="msjerror"></asp:RequiredFieldValidator>--%>
                </td>
            </tr>
            <tr>
                <td class="auto-style4">
                    <br />
                    <br />
                </td>
                <td align="right" class="auto-style4">Cédula(*):</td>
                <td class="auto-style2">
                    <asp:TextBox ID="txt_Ced" runat="server" TabIndex="6" MaxLength="50"></asp:TextBox><br />
                    <%--<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="Digitar Cédula" ForeColor="Maroon" ControlToValidate="txt_Ced" EnableClientScript="False" CssClass="msjerror"></asp:RequiredFieldValidator>--%>
                </td>
            </tr>
            <tr>
                <td class="auto-style4">
                    <br />
                    <br />
                </td>
                <td align="right" class="auto-style4">Sexo:</td>
                <td class="auto-style2">
                    <asp:DropDownList ID="ddl_Sexo" runat="server" CssClass="DropDownListcompleto" CausesValidation="True" Font-Bold="True" Font-Italic="False" Font-Overline="False" Font-Size="Medium" AppendDataBoundItems="false">
                        <asp:ListItem Value="1">Masculino</asp:ListItem>
                        <asp:ListItem Value="2">Femenino</asp:ListItem>
                    </asp:DropDownList><br />
                    <%--<asp:RangeValidator ID="RangeValidator1" runat="server" ErrorMessage="Seleccionar Sexo" MaximumValue="2" MinimumValue="1" ControlToValidate="ddl_Sexo" EnableClientScript="False" ForeColor="Maroon" CssClass="msjerror"></asp:RangeValidator>--%>
                </td>
            </tr>
            <tr>
                <td class="auto-style4">
                    <br />
                    <br />
                </td>
                <td align="right" class="auto-style4">Fecha de Nacimiento(*):</td>
                <td class="auto-style2">
                    <asp:TextBox ID="txt_FechaNac" runat="server" Width="89px" ReadOnly="True"></asp:TextBox><br />
                </td>
            </tr>
             <tr>
                 <td class="auto-style4">&nbsp;</td>
                 <td align="right" class="auto-style4">Tipo de Cliente:</td>
                 <td class="auto-style2">
                     <asp:DropDownList ID="ddl_Tipo_Cliente" runat="server" AppendDataBoundItems="false" CausesValidation="True" CssClass="DropDownListcompleto" Font-Bold="True" Font-Italic="False" Font-Overline="False" Font-Size="Medium">
                         <asp:ListItem Value="1">Masculino</asp:ListItem>
                         <asp:ListItem Value="2">Femenino</asp:ListItem>
                     </asp:DropDownList>
                     <br />
                 </td>
             </tr>
            <tr>
                <td class="auto-style4">
                    <br />
                    <br />
                </td>
                <td class="auto-style4" align="right">Correo Electrónico(*):</td>
                <td class="auto-style2">
                    <asp:TextBox ID="txt_EmailCliente" runat="server" Width="164px" MaxLength="50"></asp:TextBox><br />
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td class="auto-style4">
                    <br />
                    <br />
                </td>
                <td align="right" class="auto-style4">Teléfono Celular(*):</td>
                <td class="auto-style2">
                    <asp:TextBox ID="txt_Celular" runat="server" Width="186px" MaxLength="50"></asp:TextBox> <br />                  
                </td>
            </tr>
             <tr>
                <td class="auto-style4">
                    <br />
                    <br />
                </td>
                <td align="right" class="auto-style4">Estado:</td>
                <td class="auto-style2">
                    <asp:CheckBox ID="chk_Activo" runat="server" Text="Activo" OnCheckedChanged="chk_Activo_CheckedChanged" AutoPostBack="True" CssClass="letrapantallas" />
                    <asp:CheckBox ID="chk_Inactivo" runat="server" CssClass="letrapantallas" Text="Inactivo" OnCheckedChanged="chk_Inactivo_CheckedChanged" AutoPostBack="True" /><br />
                            <%--<asp:Label ID="lbl_Error" runat="server" CssClass="msjerror" ForeColor="Maroon" AutoPostBack="True"></asp:Label>--%>
                </td>
            </tr>          
             <tr>
                <td><br /><br /></td>
                <td align="center"></td>
                <td align="left" class="auto-style2">
                    <h2 style="color: darkblue">Información para el Entrenador</h2>
                </td>
            </tr>
             <tr>
                <td class="auto-style4"></td>
                <td align="center" class="auto-style4"></td>           
                <td align="left" class="auto-style2"></td>
            </tr>
            <tr>
                <td class="auto-style4">
                    <br />
                    <br />
                </td>
                <td align="right" class="auto-style4">Peso(*):</td>
                <td class="auto-style2">
                     <asp:TextBox ID="txt_Peso" runat="server" Width="84px" TabIndex="11" OnTextChanged="txt_Peso_TextChanged"></asp:TextBox><br />                                               
<%--                     <asp:MaskedEditExtender ID="MaskedEditExtender8" runat="server"
                                                    TargetControlID="txt_Peso"
                                                    Mask="999.99"
                                                    MessageValidatorTip="true"
                                                    OnFocusCssClass="MaskedEditFocus"
                                                    OnInvalidCssClass="MaskedEditError"
                                                    MaskType="Number"
                                                    InputDirection="RightToLeft"
                                                    AcceptNegative="None"
                                                    ClearMaskOnLostFocus="True"
                                                    Filtered="."
                                                    ErrorTooltipEnabled="True" />
                     <asp:RequiredFieldValidator ID="RequiredFieldValidator13" runat="server" ControlToValidate="txt_Peso" CssClass="msjerror" EnableClientScript="False" ErrorMessage="Digitar Peso" ForeColor="Maroon"></asp:RequiredFieldValidator>--%>
                </td>
                <td align="left" class="auto-style4" style="color: blueviolet">kilogramos(kg)</td>
            </tr>
             <tr>
                <td class="auto-style4">
                    <br />
                    <br />
                </td>
                <td align="right" class="auto-style4">Estatura(*):</td>
                <td class="auto-style2">
                     <asp:TextBox ID="txt_Estatura" runat="server" Width="84px" TabIndex="11"></asp:TextBox><br />                                              
<%--                     <asp:MaskedEditExtender ID="MaskedEditExtender1" runat="server"
                                                    TargetControlID="txt_Estatura"
                                                    Mask="99.99"
                                                    MessageValidatorTip="true"
                                                    OnFocusCssClass="MaskedEditFocus"
                                                    OnInvalidCssClass="MaskedEditError"
                                                    MaskType="Number"
                                                    InputDirection="RightToLeft"
                                                    AcceptNegative="None"
                                                    ClearMaskOnLostFocus="True"
                                                    Filtered="."
                                                    ErrorTooltipEnabled="True" />
                     <asp:RequiredFieldValidator ID="RequiredFieldValidator14" runat="server" ControlToValidate="txt_Estatura" CssClass="msjerror" EnableClientScript="False" ErrorMessage="Digitar Estatura" ForeColor="Maroon"></asp:RequiredFieldValidator>--%>
                </td>
                <td align="left" class="auto-style4" style="color: blueviolet">centímetros(cm)</td>
            </tr>
             <tr>
                <td class="auto-style4">
                    <br />
                    <br />
                </td>
                <td align="right" class="auto-style4">Matriculado:</td>
                <td class="auto-style2">
                     <asp:DropDownList ID="ddl_Matriculado" runat="server" AppendDataBoundItems="false" CausesValidation="True" CssClass="DropDownListcompleto" Font-Bold="True" Font-Italic="False" Font-Overline="False" Font-Size="Medium">
                                <asp:ListItem Value="1">Si</asp:ListItem>
                                <asp:ListItem Value="2">No</asp:ListItem>
                            </asp:DropDownList><br />
                            <asp:RangeValidator ID="RangeValidator2" runat="server" ErrorMessage="Seleccionar" MaximumValue="2" MinimumValue="1" ControlToValidate="ddl_Matriculado" EnableClientScript="False" ForeColor="Maroon" CssClass="msjerror"></asp:RangeValidator>
                </td>
            </tr>
             <tr>
                <td class="auto-style4">
                    <br />
                    <br />
                </td>
                <td align="right" class="auto-style4">Notas:</td>
                <td class="auto-style2">
                       <asp:TextBox ID="txt_Notas" runat="server" Width="240px" MaxLength="50"></asp:TextBox><br />
                       <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" ErrorMessage="Se requieren notas para la información" ForeColor="Maroon" ControlToValidate="txt_Notas" EnableClientScript="False" CssClass="msjerror"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="auto-style4"></td>
                <td align="right" class="auto-style4"></td>
                <td class="auto-style2">
                    <asp:ImageButton ID="imgbtn_Agregar" runat="server" ImageUrl="~/Módulos/Catálogos y Mantenimientos/Imagen/accept.png" OnClick="imgbtn_Agregar_Click"/>
                </td>
            </tr>
        </table>
    </asp:Panel>
</asp:Content>
